package org.paul.tourism

import android.util.Log

/**
 *
 *  log 工具，简单输出log TODO(细致功能：输出日志并存储，根据日志过期时间删除历史日志)
 *
 *  created by paul at 2019-03-26
 *
 */

interface Logger {

    fun d(tag: String, msg: String) {
        Log.d(tag, msg)
    }

    fun d(msg: String) {
        d(javaClass.simpleName, msg)
    }

    fun fmtd(format:String,vararg any: Any){
        d(String.format(format,any))
    }

}